package com.wanter.paper.entity;

import java.io.Serializable;

/**
 * 该试卷的使用情况
 * Created by er on 2017/7/7.
 */
public class PaperLogInfo implements Serializable {
    private String id;
    private String answerUserid;//使用这份试卷人的id
    private Float maxScore; //该试卷的最高得分数
    private Float minScore;//该试卷的最低得分数
    private Long spaceTime;//所花费时间的毫秒数

    public PaperLogInfo(String id, String answerUserid, Float maxScore, Float minScore, Long spaceTime) {
        this.id = id;
        this.answerUserid = answerUserid;
        this.maxScore = maxScore;
        this.minScore = minScore;
        this.spaceTime = spaceTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAnswerUserid() {
        return answerUserid;
    }

    public void setAnswerUserid(String answerUserid) {
        this.answerUserid = answerUserid;
    }

    public Float getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(Float maxScore) {
        this.maxScore = maxScore;
    }

    public Float getMinScore() {
        return minScore;
    }

    public void setMinScore(Float minScore) {
        this.minScore = minScore;
    }

    public Long getSpaceTime() {
        return spaceTime;
    }

    public void setSpaceTime(Long spaceTime) {
        this.spaceTime = spaceTime;
    }

    @Override
    public String toString() {
        return "PaperLogInfo{" +
                "id='" + id + '\'' +
                ", answerUserid='" + answerUserid + '\'' +
                ", maxScore=" + maxScore +
                ", minScore=" + minScore +
                ", spaceTime=" + spaceTime +
                '}';
    }
}
